package com.ibeifeng.crm.util;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


@Controller
/*
 * 实现登陆的相关跳转配置类
 * */
public class ShiroUserDo extends AbstractDo {
	@RequestMapping("/successUrl")
	public ModelAndView successUrl(){
		return new ModelAndView(super.getValue("shiro.successUrl.page"));
		
	}
	@RequestMapping("/loginUrl")
	public ModelAndView loginUrl(){
		return new ModelAndView(super.getValue("shiro.loginUrl.page"));
	}
	@RequestMapping("/unauthUrl")
	public ModelAndView unauthUrl(){
		return new ModelAndView(super.getValue("shiro.unauthUrl.page"));
	}
	
}
